﻿<%@ Page language="c#" Inherits="sow.forums" CodeFile="forumDetail.aspx.cs" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>forums</title>
		<LINK href="../springofwater.css" type="text/css" rel="stylesheet">
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
	</HEAD>
	<body>
		<div align="center">
			<form id="Form1" method="post" runat="server">
				<div align="center">
					<table id="forumDetail" width="80%" border="0">
						<tr>
							<td align="center">
								<% Server.Execute("header.aspx");%>
							</td>
						</tr>
					</table>
				</div>
				<div align="center">
					<table cellSpacing="0" cellPadding="0" width="770" align="center" border="0">
						<tr>
							<td>
								<ul style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FLOAT: left; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 100%; PADDING-TOP: 0px; FONT-FAMILY: SimSun; LIST-STYLE-TYPE: none; BACKGROUND-COLOR: white">
									<li style="DISPLAY: inline">
										<A class="menu" href="index.aspx">泉源首页</A>
									<li style="DISPLAY: inline">
										<A class="selected" href="forumsStart.aspx">泉源论坛</A>
									<li style="DISPLAY: inline">
										<A class="menu" href="bloggermain.aspx">泉源博客</A>
									<li style="DISPLAY: inline">
										<A class="empty" href="jianzao.aspx"></A>
									<li style="DISPLAY: inline">
										<A class="menu" href="dengji.aspx">注册登记</A>
									<li style="DISPLAY: inline">
										<A class="menu" href="women.aspx">关于我们</A>
									<li style="DISPLAY: inline">
										<A class="menu" href="mailto:contact@springofwater.net">联络我们</A>
									</li>
								</ul>
							</td>
						</tr>
					</table>
				</div>
				<FONT face="???">
					<TABLE id="Table1" style="WIDTH: 771px; HEIGHT: 104px" borderColor="#6699cc" cellSpacing="0"
						cellPadding="0" bgColor="#f0f0f0" border="1">
						<TR>
							<td style="HEIGHT: 15px" colSpan="2">
								<TABLE id="Table2" style="WIDTH: 766px; HEIGHT: 16px" bgColor="#5d9dd1">
									<TR>
								<TD  align="center" bgColor="#5d9dd1" colSpan="1"
							rowSpan="1">&nbsp;
							<P class="size1"><A href="forumsStart.aspx?CategoryID=33&ForumID=11"><FONT color="#ffffff">综合论坛</FONT></A><FONT color="#ffffff">|
								</FONT><A href="forumsStart.aspx?CategoryID=48&ForumID=15"><FONT color="#ffffff">宣教论坛</FONT></A><FONT color="#ffffff">|
								</FONT><A href="forumsStart.aspx?CategoryID=53&ForumID=16"><FONT color="#ffffff">同工园地</FONT></A><FONT color="#ffffff">|
								</FONT><A href="bloggerweb.aspx?UserID=153"><FONT color="#ffffff">国内论坛</FONT></A><FONT color="#ffffff">
						          </TD>
										<TD vAlign="middle" align="right" colSpan="1" rowSpan="1"><asp:linkbutton id="newArticleButton" runat="server" Width="317px" BackColor="Transparent" ForeColor="White"
												Font-Size="x-Small" BorderStyle="None" onclick="newArticleButton_Click"></asp:linkbutton><FONT color="#009900"></FONT>
										</TD>
									</TR>
									<TR>
										<TD vAlign="middle" align="right" style="height: 21px"></TD>
									</TR>
								</TABLE>
                                <asp:DetailsView ID="DetailsView1" runat="server" AutoGenerateRows="False" DataKeyNames="PostID"
                                    DataSourceID="ForumDetailObjectDataSource" Height="50px" Width="747px" BackColor="White" BorderColor="#E7E7FF" BorderStyle="None" BorderWidth="1px" CellPadding="3" GridLines="Horizontal">
                                    <Fields>
                                        <asp:BoundField DataField="PostID" HeaderText="PostID" InsertVisible="False" ReadOnly="True"
                                            SortExpression="PostID" />
                                        <asp:BoundField DataField="ParentPostID" HeaderText="ParentPostID" SortExpression="ParentPostID" />
                                        <asp:BoundField DataField="Subject" HeaderText="Subject" SortExpression="Subject" />
                                        <asp:BoundField DataField="CreateDate" HeaderText="CreateDate" SortExpression="CreateDate" />
                                        <asp:BoundField DataField="Name" HeaderText="Name" SortExpression="Name" />
                                        <asp:BoundField DataField="ReplyCounts" HeaderText="ReplyCounts" SortExpression="ReplyCounts" />
                                        <asp:BoundField DataField="LastUpdate" HeaderText="LastUpdate" SortExpression="LastUpdate" />
                                        <asp:BoundField DataField="Hits" HeaderText="Hits" SortExpression="Hits" />
                                        <asp:BoundField DataField="Body" HeaderText="Body" SortExpression="Body" />
                                    </Fields>
                                    <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
                                    <EditRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="#F7F7F7" />
                                    <RowStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />
                                    <PagerStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" HorizontalAlign="Right" />
                                    <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" />
                                    <AlternatingRowStyle BackColor="#F7F7F7" />
                                </asp:DetailsView>
                                <asp:ObjectDataSource ID="ForumDetailObjectDataSource" runat="server" OldValuesParameterFormatString="original_{0}"
                                    SelectMethod="GetPostAndRepliesById" TypeName="server.SOWDBTableAdapters.PostDetailsTableAdapter">
                                    <SelectParameters>
                                        <asp:QueryStringParameter DefaultValue="63" Name="PostId" QueryStringField="PostId"
                                            Type="Int32" />
                                    </SelectParameters>
                                </asp:ObjectDataSource>
                            </td>
						</TR>
					</TABLE>
				</FONT>
			</form>
		</div>
		<DIV align="center">
			<table id="table81" width="80%" border="0">
				<tr>
					<td align="center">
						<% Server.Execute("tail.aspx");%>
					</td>
				</tr>
			</table>
		</DIV>
	</body>
</HTML>
